﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace UpdateServer
{
    public partial class UpdateHistory : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string appid = Request.QueryString["APPID"];
            if (!string.IsNullOrEmpty(appid))
            {
                ServerDataTableAdapters.T_APPS_VERSIONTableAdapter ad = new UpdateServer.ServerDataTableAdapters.T_APPS_VERSIONTableAdapter();
                GridViewHistory.DataSource = ad.GetDataBy(appid);
                GridViewHistory.DataBind();
            }
            else
            {
                Response.Redirect("Default.aspx");
            }

        }

    }
}
